package com.itheima.pojo;

import java.io.Serializable;
import java.util.Date;

public class Advice implements Serializable {
    private Integer id;
    private String setmeal;
    private String name;
    private Date time;
    private String report;
    private String opinion;
    private String pill;
    private String sport;
    private String food;

    public Advice(Integer id, String setmeal, String name, Date time, String report, String opinion, String pill, String sport, String food) {
        this.id = id;
        this.setmeal = setmeal;
        this.name = name;
        this.time = time;
        this.report = report;
        this.opinion = opinion;
        this.pill = pill;
        this.sport = sport;
        this.food = food;
    }

    public Advice() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSetmeal() {
        return setmeal;
    }

    public void setSetmeal(String setmeal) {
        this.setmeal = setmeal;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getReport() {
        return report;
    }

    public void setReport(String report) {
        this.report = report;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public String getPill() {
        return pill;
    }

    public void setPill(String pill) {
        this.pill = pill;
    }

    public String getSport() {
        return sport;
    }

    public void setSport(String sport) {
        this.sport = sport;
    }

    public String getFood() {
        return food;
    }

    public void setFood(String food) {
        this.food = food;
    }

    @Override
    public String toString() {
        return "Advice{" +
                "id=" + id +
                ", setmeal='" + setmeal + '\'' +
                ", name='" + name + '\'' +
                ", time=" + time +
                ", report='" + report + '\'' +
                ", opinion='" + opinion + '\'' +
                ", pill='" + pill + '\'' +
                ", sport='" + sport + '\'' +
                ", food='" + food + '\'' +
                '}';
    }
}
